package com.hbw.pinyin.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

@Entity(nameInDb = "RECORD")
public class DBRecord {
    @Id(autoincrement = true)
    @Property(nameInDb = "ID")
    private Long id;
    @Property(nameInDb = "KEY")
    private String key;
    @Property(nameInDb = "VALUE")
    private String value;
    @Property(nameInDb = "CREATE_TIME")
    private String create_time;

    @Generated(hash = 1536689103)
    public DBRecord(Long id, String key, String value, String create_time) {
        this.id = id;
        this.key = key;
        this.value = value;
        this.create_time = create_time;
    }

    @Generated(hash = 746428)
    public DBRecord() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getKey() {
        return this.key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getCreate_time() {
        return this.create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }
}
